[Ang]
Hello and thank you for downloading AiyCrates.
Here is an explanation on how to change the models for the crates and/or keys:

For simplicity, use only one texture per model.


You will find the crate or key models in the `models/block` or `models/item` folder.
You will find the crate or key textures in the `textures/block` or `textures/item` folder.
------------------------------
-0
Create or modify a model and name it exactly the same as the one you are replacing; do the same for the texture used.
Don't forget to configure the display as an item (GUI, inventory, hands, etc.).


-1
Replace the existing model with your modified one.

-2
You need to link it to the correct texture.
Make sure your model has the following at the top:

{
  "textures": {
    "particle": "aiycrates:block/changed_block",
    "0": "aiycrates:block/changed_block"
  },
  "render_type": "cutout",
  "elements": [… rest of the model

"changed_block" = the block you want to change.
Be sure to target the correct texture file and include the "aiycrates:" prefix.
And you need to add the [,"render_type": "cutout"] before elements.
To use multiple textures, add the extra textures to the texture folder and follow the same steps.

Changing item models works the same way, except you can remove "particle" and "render_type" (don't forget to remove the comma):

{
  "textures": {
    "0": "aiycrates:items/changed_key"
  },
  "elements": [… rest of the model
------------------------------


You can change the block/item names in the `aiycrates:lang` folder.
(Currently supporting `en_us` and `fr_fr`). If you want to add more languages, feel free to send me the language file you include in your pack.




[FR]

Bonjour et merci d'avoir téléchargé AiyCrates.
voici une explication pour changer les models des crates et/ou clés:

n'utilisez qu'une texture par model pour plus de simplicité

Dans le dossier: models/block ou /item, vous trouverez les models des crates ou des clés.
Dans le dossier: textures/block ou /item, vous trouverez les textures des crates ou des clés.
------------------------------
-0
Créez ou Modifiez un model et nommez le du même nom que celui à remplacer et faites de même avec la texture utilisée.
n'oubliez pas de configurer l'affichage en tant qu'item (gui, inv, hands etc..)


-1
Remplacez le model par ce que vous avez modifié

-2
Vous allez le lier à la bonne texture.
Assurez vous donc d'avoir dans votre model ceci en haut de page:

{
  "textures": {
    "particle": "aiycrates:block/block_changé",
    "0": "aiycrates:block/block_changé"
  },
  "render_type": "cutout",
  "elements": [… reste du model

"block_changé" = le bloc que vous voulez changer
Pour préciser assurez-vous de cibler le bon fichier texture et d'avoir écrit "aiycrates:".
Et surtout d'ajouter le [,"render_type": "cutout"] avant elements
Pour avoir plusieurs textures ajoutez vos textures supplémentaires dans le dossier texture et faites de même

Pour changer le model des items c'est pareil à la diférence que vous pouvez retirer "particle" et "render_type" (n'oubliez pas d'enlever la virgule)

{
  "textures": {
    "0": "aiycrates:item/clé_changé"
  },
  "elements": [… reste du model
------------------------------


vous pouvez changer les noms des blocks/items dans le dossier aiycrates:lang.
(pour le moment en_us et fr_fr) si vous voulez plus de languages n'hésitez pas à m'envoyer celui que vous ajouterez dans votre pack.
